package org.ala.tiktools.rpc.tcp.spring;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.ala.tiktools.rpc.spring.RpcBeanConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

/**
 *
 *	@author ala
 *	@date 2025年4月24日
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ComponentScan(basePackageClasses=RpcBeanConfiguration.class)
@Import(TcpRpcBeanRegisterPostProcessor.class)
public @interface EnableAlaRpcTcp {
	/**
	 * 
     */
	@AliasFor("basePackages")
    String[] value() default {};
	/**
	 * 
	 */
    @AliasFor("value")
	String[] basePackages() default {};
}
